<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    * {
        padding: 0;
        margin: 0;
    }
    
    #app {
        text-align: center;
        margin: 20px auto;
    }
    
    .title {
        font-weight: 700;
        text-align: center;
    }
    
    .button input {
        background-color: rgb(85, 85, 145);
        color: white;
    }
    
    input {
        padding-left: 10px;
        border: 1px solidrgb(154, 151, 151);
        width: 90%;
        height: 40px;
        /* border: 0px; */
        border-radius: 25px;
        margin-top: 30px;
    }
</style>

<body>
    <div id="app">
        <div class="title">登录页</div>
        <div>
            <input type="text" placeholder="用户名" v-model="phone">
        </div>
        <div>
            <input type="password" placeholder="密码" v-model="pass">
        </div>
        <div class="button">
            <input type="button" value="登录" @click="login">
        </div>
    </div>
    <script src="vue-2.5.21.js"></script>
    <script src="登录页.js"></script>
</body>

</html>